<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>返回POST变量</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="yaf-request-http.getfiles.html">Yaf_Request_Http::getFiles</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="yaf-request-http.getquery.html">Yaf_Request_Http::getQuery</a></div>
 <div class="up"><a href="class.yaf-request-http.html">Yaf_Request_Http</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="yaf-request-http.getpost" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">Yaf_Request_Http::getPost</h1>
  <p class="verinfo">(Yaf &gt;=1.0.0)</p><p class="refpurpose"><span class="refname">Yaf_Request_Http::getPost</span> &mdash; <span class="dc-title">返回POST变量</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-yaf-request-http.getpost-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type"><a href="language.pseudo-types.html#language.types.mixed" class="type mixed">mixed</a></span> <span class="methodname"><strong>Yaf_Request_Http::getPost</strong></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$name</code></span>
   [, <span class="methodparam"><span class="type">string</span> <code class="parameter">$default</code></span>
  ] )</div>

  <p class="para rdfs-comment">
    返回POST变量
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-yaf-request-http.getpost-parameters">
  <h3 class="title">参数</h3>
  <dl>

   
    <dt>
<em><code class="parameter">name</code></em></dt>

    <dd>

     <p class="para">
       the variable name   
     </p>
    </dd>

   
   
    <dt>
<em><code class="parameter">default</code></em></dt>

    <dd>

     <p class="para">
      如果提供了此参数，当变量在未被找到的情况下，提供的参数将被返回
     </p>
    </dd>

   
  </dl>

 </div>


 <div class="refsect1 returnvalues" id="refsect1-yaf-request-http.getpost-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">

  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-yaf-request-http.getpost-seealso">
  <h3 class="title">参见</h3>
  <ul class="simplelist">
   <li class="member"><strong class="classname">Yaf_Request_Http::get</strong></li>
   <li class="member"><strong class="classname">Yaf_Request_Http::getQuery</strong></li>
   <li class="member"><strong class="classname">Yaf_Request_Http::getCookie</strong></li>
   <li class="member"><strong class="classname">Yaf_Request_Http::getServer</strong></li>
   <li class="member"><strong class="classname">Yaf_Request_Http::getParam</strong></li>
  </ul>
 </div>


</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="yaf-request-http.getfiles.html">Yaf_Request_Http::getFiles</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="yaf-request-http.getquery.html">Yaf_Request_Http::getQuery</a></div>
 <div class="up"><a href="class.yaf-request-http.html">Yaf_Request_Http</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
